<?php
  echo validation_errors();

  echo form_open('user/login');
  echo lang('User', 'username');
  echo form_input(array('name' => 'username','value' => set_value('username'), 'id' => 'username', 'class' => 'text'));

  echo lang('Password', 'password');
  echo form_password(array('name' => 'password', 'id' => 'password', 'class' => 'text' ));
  echo '<div class="ar buttons">';
  echo form_submit('submit', lang('Login'));
  echo '</div>';
  echo form_close();
?>
